package com.share.example.stock.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.share.example.stock.model.db.SectorDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author author
 * @since 2023-06-03
 */
public interface SectorDetailMapper extends BaseMapper<SectorDetail> {

    int deleteByDateAndlable(@Param("date") String date, @Param("lable") String lable);

    int insertbatch(@Param("list") List<SectorDetail> list);

    List<String> getDateAndLables(@Param("list") List<String> list, @Param("date") String date);
}
